package com.wenhui.schoolyardinfo.square.presenter;

import com.wenhui.schoolyardinfo.login.presenter.base.BasePresenter;
import com.wenhui.schoolyardinfo.login.view.base.IBaseView;
import com.wenhui.schoolyardinfo.square.model.base.IPublicGoodModel;
import com.wenhui.schoolyardinfo.square.presenter.base.IPublicGoodPresenter;
import com.wenhui.schoolyardinfo.square.view.IPublicGoodView;

import java.util.Map;

/**
 * author    : mahongyin
 * e-mail    : 1976222027@qq.com
 * date      :2019/7/17 14:04
 * introduce :
 */

public class PublicGoodPresenterImpl extends BasePresenter<IBaseView>implements IPublicGoodPresenter {
   static String TAG ="PublicGoodPresentImpl";
   private IPublicGoodModel publicGoodModel;
    @Override
    public void getPublicGoodData(Map<String, String> publicGood) {

        if (getView() != null) {
            if (getView() instanceof IPublicGoodView) {
                final IPublicGoodView publicGoodView = (IPublicGoodView) getView();
                publicGoodView.showLoading();

            }
        }

    }
}
